import 'package:yysk_app/env/env.dart';

// 公共模块
class CommonApi {
  static String baseUrl = Env.envConfig.envHttpUrl;
  static String bannerList = '$baseUrl/common/web/banner/page'; //banner列表
  static String noticeList = '$baseUrl/common/web/notice/page'; //公告列表
  static String noticeLabel =
      '$baseUrl/common/web/noticeLabel/list'; //公告列表label
  static String fansPage = '$baseUrl/user/web/v1/fans_page'; //我的社区列表
  static String getSlider = '$baseUrl/common/common/slider'; //获取校验接口 && 验证码预校验
  static String sendMsg = '$baseUrl/common/common/sms/sendMsg'; //发送短信验证码
  static String getCertificationType =
      '$baseUrl/common/realNameValid/getCertificationType'; //获取实名认证状态-脱敏
  static String getServerInfo =
      '$baseUrl/marketing/web/staticData/byType'; //获取客服信息
  static String getStaticData =
      '$baseUrl/marketing/web/staticData/getStaticData'; //获取全部静态信息 /trade/web/order/test1
  static String test1 = '$baseUrl/trade/web/order/test1'; //测试支付成功 ，，暂时
  static String exchangeMallToken =
      '$baseUrl/user/web/v1/mall_login'; //换取商城的token
  static String getCouponActivity =
      '$baseUrl/buyer/promotion/coupon/activity'; //商城自动领取优惠券
  static String cancellation = '$baseUrl/user/web/v1/cancellation'; //账号注销
  static String getKefu = '$baseUrl/mall/common/common/IM'; //客服链接
  static String canCancelAccount =
      '$baseUrl/user/web/v1/canCancelAccount'; //用户账号是否可注销
  static String getHandbookPage = '$baseUrl/common/web/handbook/page'; //新人手册
  static String getQaList = '$baseUrl/common/web/qa/page'; // qa列表
  static String getUploadKey = '$baseUrl/common/upload/getTosUploadUrl'; // 获取tos上传图片链接
}
